<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/19
 * Time: 4:58
 */

namespace app\controller;


use App;

class DemoController extends BaseController
{
    public function indexAction(){
        $this->putfile(App::getAppPath() ."test/demo.php" , $this->view('index',['data' => 'test']));
    }

    public function paramAction(){
        $this->putfile(App::getAppPath() ."test/param.php" , $this->view('param',['data' => 'test']));
    }
}